﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    enum cook
    {
        佛跳墙,
            剁椒鱼头,
        东坡肉
    
    }
    class CookRobot : Robot
    {
        private cook ck;
        

        public  cook Ck
        {
            get { return this.ck; }
            set { this.ck = value; }
        }
        public CookRobot(string name,cook ck):base (name)
        {
            this.ck = ck;
        }

        public CookRobot(string name, cook ck, string v) : this(name, ck)
        {
            this.ck = ck;
        }

        public override void Working()
        {
            Console.WriteLine("{0}正在做{1}",this,name,this.ck);
        }
    }
}
